//
//  InstallmentViewController.h
//  Rich
//
//  Created by Kenny Chen on 13/7/13.
//  Copyright (c) 2013年 Kenny Chen. All rights reserved.
//

#import "RichCore.h"
#import "RichUI.h"

@interface InstallmentViewController : RichTableViewController
{
    NSUInteger      selectedPaymentRow;
}

@property (nonatomic, retain) NSString * currencyCode;
@property (nonatomic, retain) NSDate *   date;
@property (assign)            double     amount;
@property (assign)            NSUInteger times;
@property (assign)            double     downPayment;
@property (nonatomic)         double     annualInterestRate;
@property (assign)            NSUInteger period;
@property (assign, readonly)  BOOL       isModified;

- (void)reset;
- (BOOL)checkCorrectness;

@end
